﻿/**
 * jQuery twiWindow plugin
 * @Author：feitianxinhong http://xuzhihong1987.blog.163.com/  
 * @Version：1.0.0
 * @CreateDate：2015-02-28
 * @Example: Visit http://blog.163.com/twi_fly  
 * @Copyright ©2010-2015 Tyingsoft 踏影软件开发工作室 之 Twilight/Twifly开源系列. 转载请保留本行注明.   
 * @License：Twi Framework of Tyingsoft is licensed under the MIT license.  
 * @Description：基于jquery+Bootstrap的窗体控件
 * @Require:  
 *
 * ------------------------------------------------------------------
 * 编号    版本号       作者              修改日期        修改内容
 * ------------------------------------------------------------------
 *  1      1.0.0       feitianxinhong    2015-02-28      创建文件
 *  2      1.0.1       feitianxinhong    2015-03-12      z-index层显示问题
 * ------------------------------------------------------------------
 */


/*覆盖Bootstrap使用：box-sizing: border-box;*/
.twiWinContainer *{     
    box-sizing:content-box;
    -moz-box-sizing:content-box;
    -webkit-box-sizing:content-box;
}
.twiWinContainer .twiWinBg {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: #000;
    filter: alpha(opacity=30);
    -moz-opacity: 0.3;
    -khtml-opacity: 0.3;
    opacity: 0.3;
    z-index:9999;  /*1.0.1+*/
}
.twiWinContainer .twiWinClose {
    position:absolute;
    top: 3px;
    right: 5px;
    color:#ccc;
    font-size:18px;
    cursor:default;
}

.twiWinContainer .twiWinClose:hover {
    color:#d9534f;    
}

.twiWinContainer .twiWinContent {
    position:absolute;
    margin:0 auto;       
    border: solid 4px #ccc;
    width:300px;
    height:230px;    
    line-height:26px;       
    padding:5px;
    top:50%;
    left:50%;
    background-color:white;
    margin-top:-115px;
    margin-left:-150px;
    z-index:99999;
    font-size: 14px;
    font-weight: normal;
}

.twiWinContainer .twiWinTitle {
    font-size:20px;
    line-height:1.8;
    /*font-weight:bold;*/
    padding-left:10px;
    padding-bottom:5px;
    border-bottom:1px solid #ccc;
    margin-bottom:10px;
}

.twiWinContainer .twiWinBody {

}

.twiWinContainer .twiWinBbarClose {
    width:60px;
}